package com.pet.shop.mappers.shop;

import com.github.pagehelper.Page;
import com.pet.shop.dto.PageDto;
import com.pet.shop.entity.shop.PetInfo;

import java.util.List;
import java.util.Map;

public interface PetInfoMapper {

    int delete(Long id);

    int insert(PetInfo record);

    PetInfo get(Long id);

    int update(PetInfo record);

    Page<PetInfo> queryPage(PageDto<PetInfo> page);

    List<PetInfo> queryPetInInfoListByParams(Map<String,Object> map);
}